package exception;

public class FinallyDemo21 {
    public static void main(String[] args) {
        System.out.println("程序启动");
        try {
            String line = "null";
            System.out.println(line.length());
            return;
        }catch (Exception e){
            System.out.println("有个错误得搞一下");
        }finally {
            System.out.println("说啥也得执行一下我");
        }
        System.out.println("程序结束");
    }
}
